export interface IMenu {
	create_date: number;
	enable: boolean;
	icon: string;
	menu_id: string;
	name: string;
	parent_id: string;
	permission: string[];
	sort: number;
	url: string;
	_id: string;
}


export type EditMenuParams = Omit<IMenu, '_id' | 'create_date' | 'icon'>;
export type AddMenuParams = EditMenuParams;
export type UpdateMenuParams = EditMenuParams & { _id: string };
export type GetMenuParams = {
	page: number;
	pageSize: number;
	menu_id?: string;
	name?: string;
};
